export interface TypeRecord {
  name: string;
  id: number;
}
export type TypeListResultModel = TypeRecord;

export interface CommunityRecord {
  id: number;
  name: string;
  logo: string;
  focus_num: number;
  type_id: number;
  recommend: number;
  is_subscribe: boolean;
  is_following: boolean;
}
export type CommunityListResultModel = CommunityRecord[];

export type CommunityListParams = {
  type_id?: number;
  recommend?: number;
  user_id?: number;
};
